﻿using UnityEngine;

namespace Script.Framework
{
    /// <summary>
    /// 我们想扩展 MonoBehaviour
    /// </summary>
    public class MonoBase : MonoBehaviour
    {
        /// <summary>
        /// 定义一个虚方法
        /// </summary>
        /// <param name="eventCode">事件码</param>
        /// <param name="message">消息</param>
        public virtual void Execute(int eventCode, object message)
        {
        }
    }
}